inherit eutils linux-mod


DESCRIPTION="Asus Eeepc driver"
HOMEPAGE="http://support.asus.de"
LICENSE="GPL2"
KEYWORDS="~x86"
#RESTRICT="fetch"
SRC_URI="http://eeepc-linux.googlecode.com/files/eeepc-linux-0.2.tar.gz"

RDEPEND="app-arch/unrar"

S="${WORKDIR}/${PN}"
KERNEL_DIR="/usr/src/linux/"
MODULE_NAMES="eee(:${S}:${S})"
BUILD_TARGETS="all"

src_unpack() {
	unpack ${A}
	mv "${S}/module/eee.c" "${S}/" 
	#mv "${S}/Makefile" "${S}/Makefile.orig"
	cp "${FILESDIR}/Makefile" "${S}/Makefile"
	chmod +x "${S}/Makefile"
}
